﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace TimKiemDiaDiem
{
    public partial class frmChonDichVu : WorkspaceUI
    {
        public frmChonDichVu(MainFormUI MainForm):base(MainForm)
        {
            InitializeComponent();
            m_Context = "ChonDichVu";
        }

        public frmChonDichVu()
        {
            InitializeComponent();
        }

        private void pnTimTatCa_MouseClick(object sender, MouseEventArgs e)
        {
            this.m_MainForm.LoadWorkspace(new frmTimKiem(this.m_MainForm));
        }

        private void pnTimATM_MouseClick(object sender, MouseEventArgs e)
        {
            frmTimKiem frmTimKiem = new frmTimKiem(this.m_MainForm, "ATM");
            this.m_MainForm.LoadWorkspace(frmTimKiem);
        }

        private void pnTimBenXeBus_MouseClick(object sender, MouseEventArgs e)
        {
            frmTimKiem frmTimKiem = new frmTimKiem(this.m_MainForm, "Bến xe bus");
            this.m_MainForm.LoadWorkspace(frmTimKiem);
        }

        private void pnTimBenhVien_MouseClick(object sender, MouseEventArgs e)
        {
            frmTimKiem frmTimKiem = new frmTimKiem(this.m_MainForm, "Bệnh viện");
            this.m_MainForm.LoadWorkspace(frmTimKiem);
        }

        private void pnTimCho_MouseClick(object sender, MouseEventArgs e)
        {
            frmTimKiem frmTimKiem = new frmTimKiem(this.m_MainForm, "Chợ");
            this.m_MainForm.LoadWorkspace(frmTimKiem);
        }

        private void pnTimKhachSan_MouseClick(object sender, MouseEventArgs e)
        {
            frmTimKiem frmTimKiem = new frmTimKiem(this.m_MainForm, "Khách sạn");
            this.m_MainForm.LoadWorkspace(frmTimKiem);
        }

        private void pnTimNhaHang_MouseClick(object sender, MouseEventArgs e)
        {
            frmTimKiem frmTimKiem = new frmTimKiem(this.m_MainForm, "Nhà hàng");
            this.m_MainForm.LoadWorkspace(frmTimKiem);
        }

        private void pnTimQuanAn_MouseClick(object sender, MouseEventArgs e)
        {
            frmTimKiem frmTimKiem = new frmTimKiem(this.m_MainForm, "Quán ăn");
            this.m_MainForm.LoadWorkspace(frmTimKiem);
        }

        private void pnTimQuanCafe_MouseClick(object sender, MouseEventArgs e)
        {
            frmTimKiem frmTimKiem = new frmTimKiem(this.m_MainForm, "Quán café");
            this.m_MainForm.LoadWorkspace(frmTimKiem);
        }

        private void pnTimShopThoiTrang_MouseClick(object sender, MouseEventArgs e)
        {
            frmTimKiem frmTimKiem = new frmTimKiem(this.m_MainForm, "Shop thời trang");
            this.m_MainForm.LoadWorkspace(frmTimKiem);
        }

        private void pnTimTramXang_MouseClick(object sender, MouseEventArgs e)
        {
            frmTimKiem frmTimKiem = new frmTimKiem(this.m_MainForm, "Trạm xăng");
            this.m_MainForm.LoadWorkspace(frmTimKiem);
        }

    }
}
